Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support statefulSets #29

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Duologic
Copy link
Contributor

This PR implements support for StatefulSets, which is pretty much the same as Deployments.
To facilitate this I've abstracted out the processing of Deployment into logical functions
so that both the StatefulSet and Deployment can use them.

I've also hitched a small feature along with this change: templating Args into Values.

@arttor
Copy link
Owner

arttor commented Mar 13, 2022

@Duologic looks really nice!
Can you please add statefulset sample to test_data/sample-app.yaml
And regenerate examples in /examples directory by running:

cat test_data/sample-app.yaml | go run ./cmd/helmify examples/app

@arttor arttor self-requested a review March 23, 2022 10:34
@@ -0,0 +1,138 @@
package statefulset
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add statefulset sample to test_data/sample-app.yaml
And regenerate examples in /examples directory by running:

cat test_data/sample-app.yaml | go run ./cmd/helmify examples/app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants